#ifndef _COMMON_SINGLETON_H_
#define _COMMON_SINGLETON_H_

template<typename T>
class CSingleton
{
public:

    CSingleton(){}

    static T& Instance()
    {
        static T instance;

        return instance;
    }
};

#endif //_COMMON_SINGLETON_H_
